From c7df883d1cd908b7da681b9d3283a6293f989172 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Thu, 25 Mar 2021 09:54:49 +0100 Subject: [PATCH] phase1,phase2: add file space usage reporting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add `du` step so it's clear how much space was used by the build. Signed-off-by: Petr Å tetiar --- phase1/master.cfg | 11 +++++++++++ phase2/master.cfg | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/phase1/master.cfg b/phase1/master.cfg index a1f7dea..a85382a 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -1380,6 +1380,17 @@ for target in targets: alwaysRun = True )) + factory.addStep(ShellCommand( + name = "du", + description = "Reporting estimated file space usage", + command=["du", "-sh", "."], + env={'LC_ALL': 'C'}, + haltOnFailure = False, + flunkOnFailure = False, + warnOnFailure = False, + alwaysRun = True + )) + factory.addStep(ShellCommand( name = "ccachestat", description = "Reporting ccache stats", diff --git a/phase2/master.cfg b/phase2/master.cfg index b5050e5..b9342cf 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -763,6 +763,17 @@ for arch in arches: alwaysRun = True )) + factory.addStep(ShellCommand( + name = "du", + description = "Reporting estimated file space usage", + command=["du", "-sh", "."], + env={'LC_ALL': 'C'}, + haltOnFailure = False, + flunkOnFailure = False, + warnOnFailure = False, + alwaysRun = True + )) + c['builders'].append(BuilderConfig(name=arch[0], workernames=workerNames, factory=factory)) c['schedulers'].append(schedulers.Triggerable(name="trigger_%s" % arch[0], builderNames=[ arch[0] ])) -- 2.30.2